jQuery(document).ready(function() {
	
	tabwhite = navigator.userAgent.indexOf("Mozilla/5.0 (Linux; U; Android 4.1.1; en-ph; GT-P3110 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30") != -1;
	
	resizeIframe();
	
	jQuery(window).on("resize", function(event){
				
		if (tabwhite) {
			_windowWidth = $( window ).width();
			
	
			if("window", _windowWidth == 1024){
				jQuery("#myCarousel .buttonBlue").css({
					"font-size":"13px",
					"position":"relative",
					"left":"-150px",
					"bottom":"40px"
				});	
				jQuery(".carousel.carousel-sub p").css(
					"margin-bottom","60px"
				);	
			}else{
				
				jQuery("#myCarousel .buttonBlue").css({
					"font-size":"13px",
					"position":"static"
				});	
				jQuery(".carousel.carousel-sub p").css(
					"margin-bottom","20px"
				);
				jQuery(".alignright").css(
					"margin-bottom","10px"
				);
				
			}
		}
		
		resizeIframe();
	});

});